package uk.ac.sanger.das.dasregistry.springrest.sources;



import org.biodas.jdas.schema.lastmodified.LASTMODIFIED;
import org.biodas.jdas.schema.registry.capabilities.CAPABILITIES;
import org.biodas.jdas.schema.servers.SERVERS;

import org.biodas.jdas.schema.sources.SOURCES;

/**
 * Manages access to DasSource information.
 */

public interface DasSourceManager {
	
	public SOURCES getAllSources();

	public SOURCES add(SOURCES sources) throws DasSourceNotRegisterableExcepton;

	public void activate(String sourceUri);

	public void delete(String sourceUri);

	public SOURCES update (SOURCES source) throws DasSourceNotRegisterableExcepton;

	public LASTMODIFIED getLastModified();
	
	public CAPABILITIES getKnownCapabilities();

	public SERVERS getServers();

}
